package com.zhongchaowuye.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import com.zhongchaowuye.pojo.Car;

@Mapper
@Repository("carDao")
public interface CarDao {
	public int insertCar(Car c);//新增
	public int updateCar(Car c);//修改
	public int delCar(Car c);//删除
	public Car getCar(Car c);//根据carId获取Car对象信息
	public List<Map<String,Object>> getCarList(Car c);//查询列表
}
